package com.shine.icis.hbean;

import java.io.Serializable;
import java.text.DecimalFormat;

public class OfConfirmProcDetail implements Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -7742646975157886567L;
	private DecimalFormat doubleFormat = new DecimalFormat("0.00");
	
	private int id;
	private int procId;
	private String fundCode;//基金代码
	private double arapAmt;// 金额
	private String remark;// 备注
	
	
	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getProcId() {
		return procId;
	}

	public void setProcId(int procId) {
		this.procId = procId;
	}

	public String getFundCode() {
		return fundCode;
	}

	public void setFundCode(String fundCode) {
		this.fundCode = fundCode;
	}

	public double getArapAmt() {
		return arapAmt;
	}

	public void setArapAmt(double arapAmt) {
		this.arapAmt = arapAmt;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getArapAmtText() {
		return doubleFormat.format(arapAmt);
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + id;
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		final OfConfirmProcDetail other = (OfConfirmProcDetail) obj;
		if (id != other.id)
			return false;
		return true;
	}

}
